import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Index from '@/components/Index'
import test from '@/components/test'
import dome from '@/components/dome'
import mh from '@/components/mh'
import detail from '@/components/detail'

Vue.use(Router)

var routes = [
  {
    path:'/',
    name:'Helloworld',
    component: HelloWorld
  },
  {
    path:'/index',
    name:'Index',
    component: Index
  },
  {
    path:'/test',
    name:'test',
    component: test
  },
  {
    path:'/dome',
    name:'dome',
    component: dome
  },
    {
    path:'/mh',
    name:'mh',
    component: mh
  },
      {
    path:'/detail',
    name:'detail',
    component: detail
  },

]

export default new Router({
  routes:routes,
  mode:'history',
})
